package com.bookshop.entity;
 /**
  * 图书类型实体
  * @author aiden
  *
  */
public class Category {
	
	private int id;  
	private String name;//图书类型名称

	public Category() { }
	/**
	 * 带参构造
	 * @param id 主键编号
	 * @param name 类型名称
	 */
	public Category(int id, String name) {
		this.id = id;
		this.name = name;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	
}
